package com.z100h.supplychain.evidence.task;

import org.quartz.DisallowConcurrentExecution;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.modules.monitor.entity.Task;
import com.z100h.supplychain.evidence.facade.impl.StockoutFacadeImpl;

@DisallowConcurrentExecution  
public class InOutChecker extends Task{

	@Override
	@Transactional(readOnly = false)
	public void run() {	
		StockoutFacadeImpl stockoutFacadeImpl =(StockoutFacadeImpl)this.getCxt().getBean("stockoutFacadeImpl");
		stockoutFacadeImpl.stockoutUnfinishEvidence();

	}

}
